@import "../styles/variables";

.content{
  margin-top: 2.5rem;
  .skeleton{
    padding: 1.5rem;
    display: flex;
    align-items: center;
    .skeleton_img{
      margin-left: 1rem;
    }
  }
  .left{
    background-color: #fff;
    padding: 2.4rem;
    .articles_head{
      display: flex;
      justify-content: space-between;
      .title_left{
        display: flex;
        .text{
          margin-left: 1.2rem;
          p{
            margin-bottom: 0;
            font-size: 1.3rem;
            color: #909090;
            span{
              margin-right: .5rem;
            }
            &.username{
              font-size: 1.5rem;
              color: $color-header;
            }
          }
        }
      }
    }
    .articles_title{
      margin: 2rem 0;
      h1{
        font-size: 3rem;
        font-weight: 700;
        color: $color-header;
      }
    }
    .articles_coverUrl{
      margin: 25px 0;
      img{
        height: 400px;
        width: 100%;
        object-fit: cover
      }
    }
    .articles_content{
      padding-bottom: 3rem;
      border-bottom: 1px solid $color-border;
      img{
        width: 100%;
        object-fit: cover;
        margin: 15px 0;
      }
      pre{
        display: block;
        background-color:#f3f3f3;
        padding: .5rem !important;
        overflow-y: auto;
        font-weight: 300;
        font-family: Menlo, monospace;
        border-radius: .3rem;
      }
      pre{
        background-color: #283646 !important;
        }
      pre >code{
        border:0px !important;
        background-color: #283646 !important;
        color:#FFF;
      }
      code {
        display: inline-block ;
        background-color:#e8f3ff;
        border:1px solid #1e80ff;
        border-radius:3px;
        font-size: 13px;
        padding-left: 5px;
        padding-right: 5px;
        color:#4f4f4f;
        margin: 2px 3px;
      }
      a{
        color: #1e80ff;
      }
    }
  }
  .right{
    margin-left: 2rem;
    width: 240px !important;
    .title{
      padding: 1.2rem 1.56rem;
      border-bottom: 1px solid $color-border;
      font-size: 1.4rem;
    }
    .content{
      display: flex;
      padding: 0 1.56rem;
      font-size: 1.6rem;

      .text{
        margin-left: .8rem;
        p{
          color: #909090;
          margin-bottom: 0;
          width: 146px;
          overflow: hidden;
          white-space: nowrap;
          text-overflow:ellipsis;
          &.username{
            color: $color-header;
          }
        } 
      }
    }
    .iconBox{
      padding: 1.2rem 1.56rem;
      .article_num{
        margin-bottom: .8rem;
        font-size: 1.5rem;
        margin-right: .5rem;
        color: $color-header;
        display: flex;
        align-items: center;
        span{
          font-weight: 600;
        }
        .icon{
          font-size: 1.5rem;
          width: 2.8rem;
          height: 2.8rem;
          background-color: #e8f3ff;
          display: inline-block;
          text-align: center;
          border-radius: 50%;
          line-height: 2.8rem;
          margin-right: 1.2rem;
        }
      }
    }
    .detailed_nav{
      background-color: #fff;
      margin-top: 2rem;
      padding: 0 1rem 1rem 1rem ;
      .nav_title{
        font-size: 1.8rem;
        padding: 1rem 0 .5rem 1.5rem;
        border-bottom:1px solid $color-border;
        margin-bottom: 1rem;
      }
      .article_menu{
        div{
          font-size: 1.3rem;
          overflow: hidden;
          white-space: nowrap;
          text-overflow:ellipsis;
          color: $color-text;
          margin: 0;
        }
      }
    }
  }
  p{
    font-size: 1.5rem;
    line-height: 2.6rem;
  }
  
}

@media screen and (max-width: 768px) {
   
    .right{
      display: none;
    }
  }